solve_lq Interface

public interface solve_lq

Module Procedures

private pure function solve_lq_mtx(a, tau, b) result(x)

Solves a system of LQ factored equations of the form .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N LQ factored matrix as returned by lq_factor. Notice, N must be greater than or equal to M.

real(kind=real64), intent(in), dimension(:) :: tau

A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by lq_factor.

real(kind=real64), intent(in), dimension(:,:) :: b

The M-by-NRHS matrix .

Return Value real(kind=real64), allocatable, dimension(:,:)

The N-by-NRHS matrix .

private pure function solve_lq_mtx_cmplx(a, tau, b) result(x)

Solves a system of LQ factored equations of the form .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N LQ factored matrix as returned by lq_factor. Notice, N must be greater than or equal to M.

complex(kind=real64), intent(in), dimension(:) :: tau

A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by lq_factor.

complex(kind=real64), intent(in), dimension(:,:) :: b

The M-by-NRHS matrix .

Return Value complex(kind=real64), allocatable, dimension(:,:)

The N-by-NRHS matrix .

private pure function solve_lq_vec(a, tau, b) result(x)

Solves a system of LQ factored equations of the form .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N LQ factored matrix as returned by lq_factor. Notice, N must be greater than or equal to M.

real(kind=real64), intent(in), dimension(:) :: tau

A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by lq_factor.

real(kind=real64), intent(in), dimension(:) :: b

The M-element vector .

Return Value real(kind=real64), allocatable, dimension(:)

The N-element vector .

private pure function solve_lq_vec_cmplx(a, tau, b) result(x)

Solves a system of LQ factored equations of the form .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N LQ factored matrix as returned by lq_factor. Notice, N must be greater than or equal to M.

complex(kind=real64), intent(in), dimension(:) :: tau

A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by lq_factor.

complex(kind=real64), intent(in), dimension(:) :: b

The M-element vector .

Return Value complex(kind=real64), allocatable, dimension(:)

The N-element vector .